package com.wfh.rpc;

import com.wfh.rpc.model.User;
import com.wfh.rpc.service.UserService;
import lombok.extern.slf4j.Slf4j;

/**
 * @Title: UserServiceImpl
 * @Author wangfenghuan
 * @Package com.wfh.rpc.service.impl
 * @Date 2025/10/12 11:30
 * @description:
 */
@Slf4j
public class UserServiceImpl implements UserService {

    /**
     * 获取用户
     * @param user
     * @return
     */
    @Override
    public User getUser(User user) {
        log.info("user: {}", user.getUsername());
        return user;
    }
}
